from openai import OpenAI

clien = OpenAI(base_url="https://api.deepseek.com", api_key='sk-0bf377c74bc449e1a11171c59d7a71d7')

messages = [{"role": "user", "content": "你好"}]
print("正在思考中...")
response = clien.chat.completions.create(model="deepseek-chat", messages=messages)
print(response.choices[0].message.content)